{%extends 'socialcrm/base.html'%}

{%block content%}
<h4><a href="/socialcrm/{{company.name}}/campaign/{{campaign.key.id}}/messages/">{{campaign.name}}</a> > {{message.name}} </h4>

Content: <a href="/socialcrm/{{company.name}}/message/{{message.key.id}}/edit/">edit</a>
<div style="margin:5px; padding:5px; background-color: #f0f0f0;">
{{message.content}}
</div>

Send Message: 
<div>
<select>
{%for channel in channels%}
<option value="{{channel.key.id}}">{{channel.name}}</option>
{%endfor%}
</select>
<button>Send</button>
</div>

Delivery History:
<div>
<ul>
{%for delivery in deliveries%}
<li><a href="/socialcrm/{{company.name}}/delivery/{{delivery.key.id}}/">{{delivery.name}}</a></li>
{%endfor%}
</ul>
</div>

{%endblock%}